register

fun register(componentActivity: ComponentActivity)

As per new behaviour change in activity result api. All result api register must call on every create of the activity. permissionService.registerForPermissionService do registerForActivityResult for given activity This method need to be called before using the permission service. Without registering permission service none of the api of this class will work. registration needs weak reference of activity

Parameters

componentActivity

instance of ComponentActivity